package com.qunchuang.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 电梯表(LiftTable)实体类
 *
 * @author makejava
 * @since 2024-04-09 17:54:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "lift_table")
public class LiftEntity implements Serializable {
    private static final long serialVersionUID = -52086843047926150L;
    /**
     * 电梯id
     */
    @TableField("lift_id")
//    @TableId("lift_id")
    private String liftId;
    /**
     * 电梯门
     */
    @TableField("lift_door")
    private Integer liftDoor;
    /**
     * 消防模式
     */
    @TableField("lift_firefighting")
    private Integer liftFirefighting;
    /**
     * 电梯停留楼层
     */
    @TableField("lift_remain_floor")
    private Integer liftRemainFloor;
    /**
     * 电梯状态，0电梯空闲，1电梯接收到任务，2电梯执行任务
     */
    @TableField("lift_state")
    private Integer liftState;
    /**
     * 电梯ip
     */
    @TableField("lift_ip")
    private String liftIp;
    /**
     * 电梯端口号
     */
    @TableField("lift_port")
    private Integer liftPort;

}

